Eplan Platform API
Eplan.EplApi.HEServices Namespace / CableService Class / DoReassignWires Method / DoReassignWires(Project,Boolean,AnyPropertyId[]) Method
Project on which this procedure will be executed.
If true existing wire properties can be changed.
List of properties ids. Value of those properties will not be changed. Can be NULL.

In This Topic
    DoReassignWires(Project,Boolean,AnyPropertyId[]) Method
    In This Topic
    All wires in all cables from the project are assigned to a matching template of a cable.
    Syntax

    Parameters

    Parameter NameDescription
    oProjectProject on which this procedure will be executed.
    bChangeExistingPropertiesIf true existing wire properties can be changed.
    arrListOfExcludedAnyPropertyIdsList of properties ids. Value of those properties will not be changed. Can be NULL.
    Exceptions
    ExceptionDescription
    If oProject is NULL.
    If a parameter is invalid.
    The internal interface could not be created.
    An error occurred when reassigning wires. Please read the exception message.
    Remarks
    Every template will be used only once. A wire will be assigned to a template, only if both have the same potential type. If a wire is assigned to a template, the identifying wire properties of the template will be copied to the wire.
    See Also